namespace Prometheus.Binding.Validation
{
    /// <summary>
    /// Implement this interface to report any errors to prometheus validation binding system
    /// </summary>
    public interface IDataError
    {
        /// <summary>
        /// In case of error method must throw proValidationException
        /// </summary>
        void CheckError(string property);
    }
}